<?php

namespace app\index\controller;


class Index extends Base
{
    public function index()
    {
        $this->isLogin();  //判断用户是否登录
        $this->view->assign('title', '');
        return $this->view->fetch();  //渲染首页模板
    }

}